initions[aps]
>
> % el text
>
> \starttext
>
> \startfrontmatter
> \input ng-pre-portada.conTeXt
> \input ng-pre-llicencia.conTeXt
> \input ng-pre-informacio-document.conTeXt
> \completecontent
> \stopfrontmatter
>
>
> \startbodymatter
>
> \startpart[
[default][ng-bibliografia.bib]
\setupbtx[dataset=default]
\usebtxdefinitions[aps]
% el text
\starttext
\startfrontmatter
\input ng-pre-portada.conTeXt
\input ng-pre-llicencia.conTeXt
\input ng-pre-informacio-document.conTeXt
\completecontent
\stopfrontmatter
\startbodymatter
\startpart[title
List of figures]
>> \startsubject[title=Figures (predefined figureenvironment)]
>>\placelistoffigures
>> \stopsubject
>>
>> \startsubject[title=Figures A]
>> \placelistofAfigures
>> \stopsubject
>>
>> \startsubject[
ject[title=Figures A]
> \placelistofAfigures
> \stopsubject
>
> \startsubject[title=Figures B]
> \placelistofBfigures
> \stopsubject
> \stoptitle
>
> \startpart[title=Part ONE]
> \startchapter[title={Chapter one in part one}] %les21
>
> \st
[title=Figures B]
\placelistofBfigures
\stopsubject
\stoptitle
\startpart[title=Part ONE]
\startchapter[title={Chapter one in part one}] %les21
\startplaceAfigure
[location=left,
reference=fig:dumA,
title={Dummy A}]
{\externalfigure[dummy][width=0.6\textwidth
Willi
\setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix?
\setuphead[part][placehead=yes]
\starttext
\startpart[title=part one]
\starttitle[title=Contents]
\placelist[part,chapter][criterium=all]
\startsubject[title=Figures]
\placelistoffigures[criterium=all
'.
Is there a way of making 'part' titles wrap the same way that 'chapter' titles
do?
% ---begin---
\define[2]\placePartTitle{\midaligned{#2}}
\definehead [Part] [part]
\setuphead[Part]
[ placehead=yes,
style={\tfd},
command=\placePartTitle,
]
\starttext
\startPart[title={A very long
EXpage\externalfigure[#1][width=\printpaperwidth,height=\printpaperheight]\stopTEXpage\incrementpagenumber}
% tried page=yes/no/right/odd
\setuphead
[part]
[placehead=yes,
page=right,
before={\nowhitespace}, % ???
]
\starttext
\completecontent
\FullScreen{cow}
\startpart[title={A nice part}]
\startchapter [title=Notes]
> \setupheadertexts[{\it\getmarking[part]}][\setups{noteHeadingsText}]
> [\setups{noteHeadingsText}][{\it\getmarking[part]}]
> \placenotes [endnote]
> \page
> \setupheadertexts[{\it\getmarking[part]}][{\it\getmarking[section]}]
>
%--%
\starttext
\completecontent
\startpart[title=Part 1]
\dorecurse{3}{
\startchapter[title=Chapter #1]
If a man wants to read good books, he must make a point of
avoiding bad ones; for life is short, and time and energy
limited.
\startfootnote
T.\,Baily Saunders
er
> \startchapter[reference=moreover,title=oof]
> \stopchapter
>
> and --pages=whatever,moreover will give you the info you need to call
> context --extra=copy or whatever with the right arguments
Hans,
real-world needs may be complex, such as in the following sample:
\startte
]
\setuplabeltext
[chapter=Chapter\nobreakspace]
\setuphead
[chapter]
[conversion=Words]
\setuphead
[chapter]
[sectionsegments=chapter]
\setuphead
[section]
[sectionsegments=chapter:section]
\starttext
\startpart [title=Mypart]
\startchapter [title=Some Chapter
head
[chapter]
[sectionsegments=chapter]
\setuphead
[section]
[sectionsegments=chapter:section]
\starttext
\startpart [title=Mypart]
\startchapter [title=Some Chapter]
\startsection [title=Some Section]
\samplefile{knuth}
\stopsection
\stopchapter
\stoppart
\stoptext
list [part]
[number=yes,]
\setuphead [chapter]
[number=yes,]
\setuplist [chapter]
[number=yes,]
\starttext
\completecontent
\startpart[title={Part1}]
\startchapter[title={Chapter3}]
\input knuth
\stopchapter
\startchapter[title={Chapter2}]
\input tufte
\stopchapter
\stoppart
\start
[number=yes,]
\setuplist [chapter]
[number=yes,]
\starttext
\completecontent
\startpart[title={Part1}]
\startchapter[title={Chapter3}]
\input knuth
\stopchapter
\startchapter[title={Chapter2}]
\input tufte
\stopchapter
\stoppart
\startpart[title={Part2}]
\startchapter[title={Chapter3}]
\i
heers, Henri
\setuphead
[part]
[page=no]
\starttext
\startpart[title=Part One]
\startchapter[title=Chapter One]
\stopchapter
\startchapter[title=Chapter Two]
\stopchapter
\stoppart
\startpart[title=Part Two]
\startchapter[title=Chapter One]
\stopchapter
\
t]
[page=no]
\starttext
\startpart[title=Part One]
\startchapter[title=Chapter One]
\stopchapter
\startchapter[title=Chapter Two]
\stopchapter
\stoppart
\startpart[title=Part Two]
\startchapter[title=Chapter One]
\stopchapter
\startchapter[title=Chapter Two]
\stopchapte
exchange.com/questions/406892
I wanted to disable page breaks for parts. This works on all pages, except the
first page of a
document. Why? MWE is below as always. Reproducible with TL 2017 and latest
beta.
Cheers, Henri
\setuphead
[part]
[page=no]
\starttext
\startpart[ti
]
[page=no]
\starttext
\startpart[title=Part One]
\startchapter[title=Chapter One]
\stopchapter
\startchapter[title=Chapter Two]
\stopchapter
\stoppart
\startpart[title=Part Two]
\startchapter[title=Chapter One]
\stopchapter
\startchapter[title=Chapter Two]
\stopchapter
\stoppart
Hello Otared!
I have it. I found an mail on the mailinglist . This works. It is:
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\startpart
[title={Danksagung}]
\stoppart
\startchapter
[title={Bildbeschreibung der Cover
,
sectionsegments=chater:chapter]
\setuphead [section]
[sectionsegments=section:section]
\starttext
\placecontent
\startpart
[title={Danksagung}]
\startchapter
[title={Bildbeschreibung der Cover-Grafik}]
\startchapter
[title={Einleitung
rttext
\startbodymatter
\startpart[title={Part one}]
\startchapter[title={Fancy chapter name}]
\startsection[title={A very very very long section title},
list={Shortened somewhat}]
\input knuth
\stopsection
\stopchapter
\stoppart
\stopbodymatter
\startback
The following file used to give me numbered titles (and still gives
numbered titles in TeXLive):
\setuphead[part][
placehead=yes,
page=yes,
% number=yes
]
\setuphead[chapter][
page=yes,
% number=yes
]
\starttext
\startpart[title={Part one}]
\startchapter[title={Fancy chapter
[section]
[command=\ChapterCommand,
textstyle=\ss,
page=yes,
conversion=numbers,
sectionsegments=section:section,
number=yes]
\starttext
\startpart
[title={First Part}]
\startchapter
[title={First chapter}]
\startsection
[title={Firs
Hi Eric,
If you use either
\part{This is part 1}
or
\startpart[title={This part 2}]
\startchapter[title={This is chapter 1}]
\stopchapter
\stoppart
you get a title for part 1 and part 2.
Best regards: OK
On 30 Aug 2015, at 11:42, Eric Détrez i...@eric-detrez.fr wrote:
By default \part
, you might also need to add part to the table of contents
list.
etc.
Alan
On Sun, 30 Aug 2015 12:46:50 +0200
Otared Kavian ota...@gmail.com wrote:
Hi Eric,
If you use either
\part{This is part 1}
or
\startpart[title={This part 2}]
\startchapter[title={This is chapter 1
\stopSameCommand
\stopSameCommand
\stoptext
___
The \startSameCommand finds itself out (by the nesting of the command)
if its behave
as \startpart or \startchapter or \startsection or \startsubsection or
\startsubsubsection ...
Harry
Am 28.05.2015 um 12:47 schrieb
\startSameCommand[white][White]
white is light color
\stopSameCommand
\stopSameCommand
\stoptext
___
The \startSameCommand finds itself out (by the nesting of the command)
if its behave
as \startpart or \startchapter or \startsection or \startsubsection
.
\else
Two or more chapters in this part.
\fi
\stopsetups
\starttext
\dorecurse{4}
{\startpart[title=Part #1]
\dorecurse{\ifcase#1\or 0\or 3\else 1\fi}
{\startchapter[title=Chapter ##1]
\stopchapter}
\stoppart}
\stoptext
Wolfgang
Very interesting!
I
No chapter in this part.
\or
One chapter in this part.
\else
Two or more chapters in this part.
\fi
\stopsetups
\starttext
\dorecurse{4}
{\startpart[title=Part #1]
\dorecurse{\ifcase#1\or 0\or 3\else 1\fi}
{\startchapter[title=Chapter ##1]
\stopchapter}
\stoppart
in this part.
\fi
\stopsetups
\starttext
\dorecurse{4}
{\startpart[title=Part #1]
\dorecurse{\ifcase#1\or 0\or 3\else 1\fi}
{\startchapter[title=Chapter ##1]
\stopchapter}
\stoppart}
\stoptext
Wolfgang
Very interesting!
I don't want to use \chapter because I'm
=\directsetup{chapterentries}]
\startsetups[chapterentries]
\determinelistcharacteristics[chapter]
\ifcase\structurelistsize
No chapter in this part.
\or
One chapter in this part.
\else
Two or more chapters in this part.
\fi
\stopsetups
\starttext
\dorecurse{4}
{\startpart[title=Part
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startbackmatter
\startchapter[title=Epilogue]
\input knuth
\stopchapter
\stopbackmatter
\stoptext
ConTeXt (Mk IV) generates a PDF file which has only one item in the
bookmarks
[title=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startbackmatter
\startchapter[title=Epilogue]
\input knuth
\stopchapter
\stopbackmatter
\stoptext
ConTeXt (Mk IV) generates a PDF file
[title=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startbackmatter
\startchapter[title=Epilogue]
\input knuth
\stopchapter
\stopbackmatter
\stoptext
ConTeXt (Mk IV) generates a PDF file
(incrementnumber=no).
I have tried also a ghost part to use around chapters:
\definehead[ghostpart][part][placehead=no, incrementnumber=no]
but turns out it doesn't help:
\startpart[title=First]
\startchapter[title=A]
\stopchapter
\stoppart
\startghostpart
\startchapter[title=Epilogue
]
\placebookmarks[part,chapter,section]
\setupinteractionscreen[option=bookmark]
\starttext
\placecontent
\startfrontmatter
\startchapter[title=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
or is
this expected behaviour.
For the file:
\setupinteraction[state=start]
\placebookmarks[part,chapter,section]
\setupinteractionscreen[option=bookmark]
\starttext
\placecontent
\startfrontmatter
\startchapter[title=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title
=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startbackmatter
\startchapter[title=Epilogue]
\input knuth
\stopchapter
\stopbackmatter
\stoptext
Regards
Michał
W dniu
of contents work perfectly:
\setupinteraction[state=start]
\placebookmarks[part,chapter][part,chapter][number=no]
\starttext
\placecontent
\startfrontmatter
\startchapter[title=Prologue]
\input knuth
\stopchapter
\stopfrontmatter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
...@amu.edu.pl wrote:
Given a file:
\setupinteraction[state=start]
\placebookmarks[part,chapter][part,chapter]
\starttext
\startchapter[title=Prologue, number=no]
\input knuth
\stopchapter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startchapter[title=Epilogue]
\input knuth
\stopchapter
\stoptext
I would expect to have the logical structure of titles as follows:
+ Prologue
+ Part A
- + One
\placecontent
%\startfrontmatter % uncomment line to show what you would expect
\startchapter[title=Prologue]
\input knuth
\stopchapter
%\stopfrontmatter % uncomment line to show what you would expect
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
% FLAW
of the details of PDF files.
The file giving the error is:
\pdfcompresslevel=0 \pdfobjcompresslevel=0
\setupinteraction[state=start,focus=standard]
\placebookmarks[part,chapter][part,chapter][number=no]
\starttext
\chapter{0}
\startpart[title={A}]
\chapter{1}
\chapter{2}
\stoppart
\startpart[title={B
Given a file:
\setupinteraction[state=start]
\placebookmarks[part,chapter][part,chapter]
\starttext
\startchapter[title=Prologue, number=no]
\input knuth
\stopchapter
\startpart[title={Part A}]
\startchapter[title=One]
\input knuth
\stopchapter
\stoppart
\startchapter[title=Epilogue
,chapter][part,chapter][number=no]
\starttext
\chapter{0}
\startpart[title={A}]
\chapter{1}
\chapter{2}
\stoppart
\startpart[title={B}]
\chapter{3}
\chapter{4}
\chapter{5}
\chapter{6}
\chapter{7}
\chapter{8}
\chapter{9}
\chapter{10}
\stoppart
\completecontent[criterium=all
\chapter{0}
\startpart[title={A}]
\chapter{1}
\chapter{2}
\stoppart
\startpart[title={B}]
\chapter{3}
\chapter{4}
\chapter{5}
\chapter{6}
\chapter{7}
\chapter{8}
\chapter{9}
\chapter{10}
\stoppart
\completecontent[criterium=all]
\stoptext
ConTeXt would generate a file in which
\startbodymatter
\startpart[title={part}]
\startchapter[title={chapter1}]
\stopchapter
\stoppart
\stopbodymatter
\stopmode
\startmode[nonmeta]
\startchapter[title
\startpart[title={part}]
\startchapter[title={chapter1}]
\stopchapter
\stoppart
\stopbodymatter
\stopmode
\startmode[nonmeta]
\startchapter[title={Introduction
\stopchapter
\completecontent[criterium=all]
\stopfrontmatter
\startbodymatter
\startpart[title={part}]
\startchapter[title={chapter1}]
\stopchapter
\stoppart
\stopbodymatter
\stopmode
\startmode[nonmeta
\completecontent[criterium=all]
\stopfrontmatter
\startbodymatter
\startpart[title={part}]
\startchapter[title={chapter1}]
\stopchapter
\stoppart
\stopbodymatter
\stopmode
\startmode[nonmeta]
\startchapter[title={Introduction
Hi together,
I wonder why I can’t seem to get my part titles visible:
%\setuphead[part]{WHAT?}
\starttext
\part{Bart Eins}
\chapter{Gabiddel Eins}
\input tufte
\chapter{Gabiddel Dswei}
\input tufte
\part{Bart Zwei}
\chapter{Gabiddel Trei}
\input tufte
\stoptext
I also tried \startpart
\chapter{Gabiddel Dswei}
\input tufte
\part{Bart Zwei}
\chapter{Gabiddel Trei}
\input tufte
\stoptext
I also tried \startpart[title=Something] etc. to no avail.
If I remember correctly, part titles shouldn't need any setup to at least
show up somehow?
Greetlings, Hraban
natural but does not work.
Also, what seems to be a bug, the running text does *not* get reset to
empty upon leaving the chapter. Below is a minimal illustration
(nonworking as it is incomplete, only a snippet)
\setupheadertexts [chapter]
\starttext
\startpart % lets have some structure...
Some
, only a snippet)
\setupheadertexts [chapter]
\starttext
\startpart % lets have some structure...
Some introductory text...
\startchapter [title=Getting started]
Some text...
\stopchapter
\page [yes]
Some trailing remarks...
% the header here still contains Getting started
):
\definestructureresetset[default][0,0][1]
\setuphead[part][sectionresetset=default]
\setuphead[part][placehead=yes]
\setuphead[chapter][sectionsegments=chapter,ownnumber=yes]
\starttext
\startpart[title=First part]
\startchapter[title=Chapter one]
\input tufte
\stopchapter
\startchapter[title=Chapter
=chapter,ownnumber=yes]
\starttext
\startpart[title=First part]
\startchapter[title=Chapter one]
\input tufte
\stopchapter
\startchapter[title=Chapter two]
\input tufte
\stopchapter
\stoppart
\startpart[title=Second part]
\startchapter[title=Chapter three]
\input tufte
\stopchapter
\startchapter
On 23-4-2011 9:02, Reviczky, Adam wrote:
\startbodymatter
\startpart [title={Table of Contents}]
\startchapter [title={Chapter}]
\startsection [title={Section}]
some day leaving out the \stop's will backfire on you
\stopbodymatter
\stoptext
add added a fallback in the beta
Hi
With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:
%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%
! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496
={Part }] % no difference, Part is not shown
\setuplabeltext [en] [chapter={Chapter }]
\setuplabeltext [en] [section={Section }]
\starttext
\startfrontmatter
\completecontent [criterium=all,label=yes]
\stopfrontmatter
\startbodymatter
\startpart [title={Table of Contents}]
\startchapter [title
On 23-4-2011 6:25, Reviczky, Adam wrote:
Hi
With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:
%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%
! LuaTeX error /usr
: LuaTeX error ...
134
135 \startpart [title={Index des sujets}]
136 \placeindex [method=first,criterium=all,compress=yes]
137 \stoppart
138
\doplaceregister ...ameter \c!pagesegments , } )}
\stoppacked \stopcolumns
\...
l.136
official support for startstops, and the
syntax will in all likelihood be different than the one used here
(\startpart[title=,ref=]).
3) Auto completion. There is a notepad++ api file context.api, which has a list
of perhaps all english ConTeXt commands. From the scite properties files you
can find
and startstop.tex.
NOTE: Hans will eventually implement official support for startstops, and
the syntax will in all likelihood be different than the one used here
(\startpart[title=,ref=]).
3) Auto completion. There is a notepad++ api file context.api, which has a
list of perhaps all english ConTeXt
64 matches
Mail list logo